package com.yiyang.service;

import com.yiyang.entity.Building;
import com.yiyang.entity.Result;

import java.util.List;

public interface BuildingService {

    Result<List<Building>> getBuilding(Integer currentPage, Integer pageSize, String name, String height);

    Result<Void> deleteBuilding(String id);

    Result<Void> addBuilding(Building building);

    Result<Void> updateBuilding(Building building);
}
